<template>
	<view class="container">
		<view class="course-banner">
			<video :src="videoUrl" class="videoss" autoplay="true" controls></video>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				videoUrl: ''
			}
		},
		onLoad() {
			this.videoUrl = uni.getStorageSync('videoUrl')
			setTimeout(function(){
				uni.setStorageSync('videoUrl','')
			},500)
		},
		onShow(){ },
		methods: {
			
		}
	}
</script>

<style>
	.container {background-color: #f8f8f8;height: 100%;background: #FCD752;}
	.course-banner {width: 100%;display: block;padding-top: 40%;}
	.course-banner .videoss{width: 100%;}
</style>